Tribe\Widget\Widget_Abstract A

Total Complexity 55
Dependencies 2
Dependents 0
Total lines 862
Lines of code 225
Logical lines of code 109
Comment lines 503
Methods 45
Properties 12

Methods 45

Method Rating Maintainability Complexity Lines of code
get_admin_data()
S
51 4 26
get_admin_fields()
S
65 2 9
parse_name()
S
71 2 6
parse_id_base()
S
71 2 6
parse_widget_options()
S
71 2 6
parse_control_options()
S
71 2 6
toggle_hooks()
S
68 2 8
validate_arguments()
S
67 2 7
filter_sidebar_arguments()
S
69 1 6
filter_arguments()
S
69 1 6
get_argument()
S
74 1 4
filter_argument()
S
69 1 6
setup_sidebar_arguments()
S
81 1 3
get_sidebar_arguments()
S
80 1 3
filter_default_arguments()
S
71 1 5
setup_default_arguments()
S
73 1 5
get_default_arguments()
S
80 1 3
filter_args_to_context()
S
71 1 5
set_admin_template()
S
81 1 3
get_admin_template()
S
82 1 3
get_admin_html()
S
78 1 3
add_hooks()
S
91 1 2
remove_hooks()
S
91 1 2
get_arguments()
S
80 1 3
__construct()
S
64 1 10
setup_arguments()
S
66 1 10
form()
S
66 1 8
get_default_widget_name()
S
79 1 3
get_default_widget_options()
S
81 1 3
get_default_control_options()
S
81 1 3
get_widget_slug()
S
81 1 3
is_widget_in_use()
S
81 1 3
widget_in_use()
S
79 1 3
setup()
S
100 1 0
widget()
S
65 1 9
filter_updated_instance()
S
69 1 6
get_html()
S
100 1 0
set_aliased_arguments()
S
79 1 3
get_aliased_arguments()
S
82 1 3
parse_arguments()
S
75 1 4
get_validated_arguments_map()
S
82 1 3
filter_validated_arguments_map()
S
69 1 6
setup_admin_fields()
S
100 1 0
filter_admin_fields()
S
69 1 6
get_registration_slug()
S
80 1 3